package com.yunxi.stock.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class PartnerStockOutReqVO implements Serializable {
    private String vin;
    private String partnerCode;
    private String customOrderNo;
    private Integer isCustomOrder;
    private String orderCarId;
    private String checkStatus;
    private String modelCode;
    private String seriesCode;
    private String catalogCode;
    private String colorCodeIn;
    private String colorCodeOut;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonDeserialize(using=DateJsonDeserializer.class)
    private Date beginDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonDeserialize(using=DateJsonDeserializer.class)
    private Date endDate;
}
